package com.briup.constant;

import java.util.UUID;

/**
 * 系统常量类
 */
public class SystemConstant {
    public static final String PRE_REQUEST = "OPTIONS";
    public static final String REQUEST_HEADER ="token";
    public static final Integer FIRST_ELEMENT_INDEX =0;
    public static final Integer WIDTH = 1200;
    public static final Integer HEIGHT = 1200;
    public static final String TYPE = "jpg";
    public static final String LOGO_TARGET = "C:\\Users\\Lenovo\\Pictures\\1.jpg";
    public static final String GENERATE_QRCODE_BASE_PATH = "D:\\imgs\\";
    public static final String GENERATE_QRCODE_TARGET = GENERATE_QRCODE_BASE_PATH + UUID.randomUUID().toString()+"."+TYPE;
    public static final String BASE_QRCODE_ACTIVE_URL = "http://192.168.3.146:9527/#/qr?animalId=";
    public static final String BASE_QRCODE_URL = "http://localhost:8082/image/";
    /**
     * 一天（秒）
     */
    public static final Long ONE_DAY_CONVERSION_SECOND = 60 * 60 * 24L;


    /**
     * 一天（毫秒）
     */
    public static final Long ONE_DAY_CONVERSION_MILLISECOND = 60 * 60 * 24 * 1000L;

}
